<html>

<head>
    <title>移动应用分发工具 V2.0</title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit" />
    <meta name="force-rendering" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link href="/static/css/bootstrap.min.css" rel="stylesheet" />

    <style>
        .main {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translateX(-50%) translateY(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    </style>
</head>

<body>
    <div class="container my-4">
        <div class="alert alert-primary" role="alert">
            目前仅支持苹果应用的上传
        </div>
        <div class="card">
            <div class="card-body">
                <form action="/upload" enctype="multipart/form-data" method="post">
                    <div class="input-group my-3">
                        <span class="input-group-text" id="basic-addon1">上传密码</span>
                        <input type="password" class="form-control" name="password" placeholder="请输入上传密码"
                            aria-describedby="basic-addon1">
                    </div>

                    <div class="my-2 py-4 px-2" style="border: 1px dashed green; ">
                        <input type="file" name="file">
                    </div>
                    <div class="my-4">
                        <input type="submit" class="btn btn-primary btn-sm" value="上传">
                        <input type="button" class="btn btn-link btn-sm ms-4" onclick="location.href='/';" value="返回首页">
                    </div>

                </form>

            </div>
        </div>
    </div>
</body>

</html>